// index.js
Page({
  data: {
    features: [] // 初始化功能列表
  },
  onLoad: function() {
    // 首页展示
    const features = [
      { id: 1, name: '在线刻章', image: '/images/seal/seal.jpg', url: '/pages/seal/feature/feature' },
    ];
    this.setData({
      features: features
    });
  },
  navigateToFeature: function(e) {
    const url = e.currentTarget.dataset.url;
    wx.navigateTo({
      url: url
    });
  }
});
